import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './utils/vant.js'
import 'amfe-flexible'
import VueCropper from 'vue-cropper'

Vue.use(VueCropper)
    //注册全局过滤函数
import moment from 'moment'
moment.locale('zh-cn')

Vue.filter('thatTime', value => moment(value).format('YYYY-MM-DD hh:ss:mm'))

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')